package ArrayList;

public class Solution {
    public static StringBuilder remove(String s1, String s2) {
        StringBuilder res = new StringBuilder();
        for(int i = 0; i < s1.length(); i++) {
            int flag = 0;
            for(int j = 0; j < s2.length(); j++) {
                if(s1.charAt(i) == s2.charAt(j)) {
                    flag++;
                }
            }
            if(flag==0){
                res.append(s1.charAt(i));
            }
        }
        return res;
    }
}
